WebCloseConnection

Note: This statement is only used in load test scripts. See Load Testing for more information.

Closes the connection to a web server.

To better simulate browser behavior, connections opened by WebGet and WebPost statements remain open while statements that follow them run. Web servers may close the connections at any time, but you can use this statement to close a connection not needed for the remainder of the load test.

To close all connections, use the WebCloseAllConnections statement.

Syntax

WebCloseConnection("Server")

Arguments

Argument Description
Server URL for the web server to close the connection to. Must include the http or https protocol.

Example

WebCloseConnection("http://www.wysicorp.com")